Skip to content

Conversation

@Wunka
Copy link
Contributor

@Wunka Wunka commented Jan 16, 2026

With #2483 together these two are the last to slice refactors I need to do for #2324
So if these refactors shall be continued for other payloads there should maybe be an issue.

As with the tryCrafting refactor the priority code is almost just copied over.

And also as with the tryCrafting refactor I will keep #2324 up to Date with this PR.

@Wunka Wunka mentioned this pull request Jan 21, 2026
@bagggage bagggage added the refactor shuffle code around label Jan 23, 2026
@bagggage bagggage moved this to Low Priority in PRs to review Jan 23, 2026
IntegratedQuantum pushed a commit that referenced this pull request Jan 24, 2026
This is extracted from:
#2506 (comment)

Initially this was only supposed to be a helper function, but as I
wanted to improve the abstraction it grew into a struct to avoid
namespace pollution.

This will also be helpful if #2506 is not accepted, as I have at least
one other slice refactor that currently copies this code (#2494), and we
may extend additional functions to slices or make more operations use
the same priority system.
Copy link
Member

@IntegratedQuantum IntegratedQuantum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rebase to include changes from #2515 and fix formatting

@IntegratedQuantum IntegratedQuantum moved this from Low Priority to In review in PRs to review Jan 24, 2026
@Wunka Wunka force-pushed the depositOrDropSlice branch from f762d22 to 3ac98cf Compare January 24, 2026 15:03
@Wunka
Copy link
Contributor Author

Wunka commented Jan 24, 2026

Please rebase to include changes from #2515 and fix formatting

done

@IntegratedQuantum IntegratedQuantum merged commit f25b67c into PixelGuys:master Jan 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor shuffle code around

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants